package cn.edu.sgu.www.mhxysy.easyexel.impl;

import cn.edu.sgu.www.mhxysy.easyexel.ExcelData;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
public class RoleAccountExcelData implements ExcelData {

    @ExcelProperty(value = "ID", order = 1)
    private String id;

    /**
     * 帮派成员
     */
    @ExcelProperty(value = "角色名", order = 2)
    private String name;

    /**
     * 角色造型
     */
    @ExcelProperty(value = "角色造型", order = 3)
    private String role;

    /**
     * 角色等级
     */
    @ExcelProperty(value = "等级", order = 4)
    private Integer grade;

    /**
     * 人物评分
     */
    @ExcelProperty(value = "人物评分", order = 5)
    private Integer score;

    /**
     * 角色门派
     */
    @ExcelProperty(value = "门派", order = 6)
    private String school;

    /**
     * 金币
     */
    @ExcelProperty(value = "金币", order = 7)
    private Integer jinbi;

    /**
     * 帮派
     */
    @ExcelProperty(value = "帮派", order = 8)
    private String gang;


    /**
     * 服务器
     */
    @ExcelProperty(value = "服务器", order = 9)
    private String server;

    /**
     * 账号
     */
    @ExcelProperty(value = "账号", order = 10)
    private String account;

    /**
     * 角色创建时间
     */
    @ExcelProperty(value = "角色创建时间", order = 11)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime birthday;
}